package com.zjt.web.api.vo.request;

import java.util.Arrays;

/**
 * Created by IntelliJ IDEA.
 * User: xueyanbeijing
 * Date: 12-8-16
 * Time: PM4:14
 * 举报请求
 */
public class ReportReqVO {
    private long userId;   //用户id
    private String[] picUrls;  //举报图片的url地址 [可以为空]
    private String address; //举报地址 [可以为空]
    private String lat; //地址纬度 [可以为空]
    private String lng; //地址经度 [可以为空]
    private String content;  //举报内容

    private Long productId;//举报产品的id [可为空]

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String[] getPicUrls() {
        return picUrls;
    }

    public void setPicUrls(String[] picUrls) {
        this.picUrls = picUrls;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getLng() {
        return lng;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "ReportReqVO{" +
                "userId=" + userId +
                ", picUrls=" + (picUrls == null ? null : Arrays.asList(picUrls)) +
                ", address='" + address + '\'' +
                ", lat='" + lat + '\'' +
                ", lng='" + lng + '\'' +
                ", content='" + content + '\'' +
                ", productId=" + productId +
                '}';
    }
}
